package com.my.xq.domain.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.sskj.core.entity.BaseEntity;


/**
 * 任务创建定义 <br/>
 * <p>
 * <a href="RenWuCreate.java.html"><i>查看源文件</i></a>
 * </p>
 * 
 * @author lg
 * @version $Revision: $<br>
 *          $Id: $
 */
@Entity
@Table(name = "SYS_RenWuCreate")
public class RenWuCreate extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;



	/** 任务Code */
	@Column(length = 120)
	private String rwCode;  //	CAST01("单元长", 20),CAST02("楼栋长", 30),CAST03("委员", 40), CAST04("主任", 50);
	
	/** 任务名称 */
	@Column(length = 120)
	private String rwName;	
	
	@Column(length = 40)
	private String unit; // 在第几单元

	@Column(length = 40)
	private String building; // 在第几栋	
	
	
	@Column(length = 40)
	private String courtId;	//对应的小区id	

	@Column(name = "start_time")
	private Date startTime;	//开始时间
	
	@Column(name = "end_time")
	private Date endTime;	//结束时间	
	
	@Column
	private boolean isActive = false;	//是否启动	
	
	@Column
	private boolean isOver = false;	//是否结束		

	public String getRwName() {
		return rwName;
	}

	public void setRwName(String rwName) {
		this.rwName = rwName;
	}

	public String getCourtId() {
		return courtId;
	}

	public void setCourtId(String courtId) {
		this.courtId = courtId;
	}



	public String getRwCode() {
		return rwCode;
	}

	public void setRwCode(String rwCode) {
		this.rwCode = rwCode;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getBuilding() {
		return building;
	}

	public void setBuilding(String building) {
		this.building = building;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public boolean isOver() {
		return isOver;
	}

	public void setOver(boolean isOver) {
		this.isOver = isOver;
	}

	public boolean isActive() {
		return isActive;
	}

	public void setActive(boolean isActive) {
		this.isActive = isActive;
	}






}
